#ifndef myobject_H
#define myobject_H
#include<QLabel>
#include <QMainWindow>

namespace Ui {
    class myobject;
}

class myobject : public QMainWindow
{
    Q_OBJECT

public:
    explicit myobject(QWidget *parent = 0);
    ~myobject();
protected:
    void paintEvent(QPaintEvent *);
    void timerEvent(QTimerEvent *);
private:
    Ui::myobject *ui;
    QLabel *time;

};

#endif // myobject_H
